<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
	//out.write(basePath);
%>

<!-- Bootstrap core CSS -->
<link href="<%=basePath%>bootstrap3/css/bootstrap.min.css"
	rel="stylesheet">
<link href="data:text/css;charset=utf-8,"
	data-href="<%=basePath%>bootstrap3/css/bootstrap-theme.min.css"
	rel="stylesheet" id="bs-theme-stylesheet">
<link href="<%=basePath%>bootstrap3/css/docs.min.css" rel="stylesheet">

<script src="<%=basePath%>bootstrap3/js/jquery.min.js"></script>

<script src="<%=basePath%>bootstrap3/js/bootstrap.min.js"></script>

<script src="<%=basePath%>bootstrap3/js/docs.min.js"></script>

<script src="<%=basePath%>bootstrap3/js/ie10-viewport-bug-workaround.js"></script>
<link rel="stylesheet" type="text/css"
	href="http://www.jeasyui.net/Public/js/easyui/themes/default/easyui.css">
<script type="text/javascript"
	src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<link rel="stylesheet" type="text/css"
	href="http://www.jeasyui.net/Public/js/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css"
	href="http://www.jeasyui.net/Public/js/easyui/demo/demo.css">
<script type="text/javascript"
	src="http://www.jeasyui.net/Public/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript">
$(function() {
	var addo = $("#addComplain")[0].value;
	if (addo != null && addo != "") {
		alert(addo);
	}
});
</script>
<style type="text/css">
#head {
	height: 100px;
	width: 100%;
	background: #EB9316;
	margin-left: auto;
	margin-right: auto;
}
</style>
</head>

<body>
	<input type="hidden" id="addComplain" value="${sessionScope.addComplain }">
	<div id="head">
		<div
			style="height: 100%; width: 50%; margin-left: auto; margin-right: auto;">
			<font color="#973634" size="7">郴电国际投诉框 </font><br /> <font
				color="#973634" size="5">欢迎来信投诉</font>
		</div>
	</div>
	<form action="<%=basePath%>netuser/userAddComplain.action">
		<div style="height: 30px; width: 100%;"></div>
		<div align="center">
			<div class="list-group" style="width: 50%;">
				<div class="form-group" align="left">
					<label for="exampleInputEmail1"><font size="4"
						color="#003333">
							事件发生时间：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></label> <input
						class="easyui-datebox" value="1/1/2016" id="minddate" name="minddate"
						style="height: 40px; width: 200px;">
				</div>
			</div>
			<div class="list-group" style="width: 50%;">
				<div class="form-group" align="left">
					<label for="exampleInputEmail1"><font size="4"
						color="#003333"> 事件发生地点：</font></label> <input type="text"
						class="form-control" id="mindsite" name="mindsite"
						placeholder="请输入事件发生地点！">
				</div>
			</div>
			<div class="list-group" style="width: 50%;">
				<div class="form-group" align="left">
					<label for="exampleInputEmail1"><font size="4"
						color="#003333"> 投诉人的卡号：</font></label> <input type="text"
						class="form-control" id="opcode" name="opcode"
						placeholder="请输入投诉人的卡号！">
				</div>
			</div>
			<div class="list-group" style="width: 50%;" align="left">
				<label for="exampleInputEmail1"><font size="4"
					color="#003333">事件过程：</font></label><br />
				<textarea id="mindaffair" name="mindaffair"
					style="height: 100px; width: 100%;"
					placeholder="请叙述事情的经过，不得超过200字！"></textarea>
			</div>
			<button type="submit" class="btn btn-warning">
				<font size="5"><span class="glyphicon glyphicon-hand-up"></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;提&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;交</font>
			</button>
		</div>
	</form>
</body>

</html>